/**
 * Created by ZHOUSH on 1/21/2016.
 */
var mongoose = require('mongoose');
var db = mongoose.connect('mongodb://localhost/myreport');
var Schema = mongoose.Schema;
var ds_sch = new Schema({
    name: String,
    module: String,
    type: String,
    key: String
});
var dataSource = db.model('data_source', ds_sch);
var dsql_sch = new Schema({
    key: ds_sch,
    value: String
});
var dsql = db.model('direct_sql', dsql_sch);